package com.doujiao.core.auth.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


/**
 * 创建管理员组 DTO
 */
@Data
@Schema(description = "创建管理员组参数")
public class AdminGroupCreateDTO {

    @NotBlank(message = "组名称不能为空")
    @Schema(description = "组名称", required = true)
    private String name;

    @Schema(description = "组描述")
    private String description;

    @NotNull(message = "状态不能为空")
    @Schema(description = "状态（0-禁用，1-启用）", required = true)
    private Integer status;
}
